package com.shunli.cterminal.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shunli.cterminal.entity.SystemTrafficRule;
import com.shunli.cterminal.model.bo.TrafficRuleAllocRecordBO;
import com.shunli.cterminal.model.res.TrafficValidRuleVO;

/**
 * <p>
 * 流量时间策略 服务类
 * </p>
 *
 * @author daodao
 * @since 2025-04-16 18:01:51
 */
public interface ISystemTrafficRuleService extends IService<SystemTrafficRule> {

    /**
     * 新增分配记录
     *
     * @param trafficRuleAllocRecordBO 记录
     * @return String
     */
    String addAllotProjectRecord(TrafficRuleAllocRecordBO trafficRuleAllocRecordBO);

    TrafficValidRuleVO queryValidRule(String projectCode);
}
